﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 供应商接口
    /// </summary>
    public interface ISupplierService
    {
        string Add(T_Supplier model);

        bool Delete(List<string> ids);

        bool Update(T_Supplier model);

        T_Supplier GetById(string id);

        List<T_Supplier> GetList(string companyID);

        PageData<T_Supplier> Query(string companyID, string suplierName, string shortName, string identityNumber, PageInfo page);

    }
}
